package powtorka.serializacja;

public class SBecja {

	public static void main(String[] args) {

		String s = null;
		System.out.println(s);
		s = "Kasia ";
		System.out.println(s);
		s = s + "i Tomek";
		System.out.println(s);
		
		String sd = null;
		sd = "Kasia ";
		StringBuffer sb = new StringBuffer(sd);
		sb.append("i Tomek");
		sd = sb.toString();
		System.out.println(sd);
		
		String tekst = "Ala ";
		System.out.println(tekst);
		tekst = new StringBuffer(tekst).append("ma kota.").toString();
		System.out.println(tekst);
	}

}
